import request from "@/utils/request"
import router from "@/router"
import { Message } from "element-ui"

export default {
    namespaced: true,
    state: {
        currentPage: 1,
        pageSize: 10
    },
    actions: {

    },
    mutations: {
        // 拿到当前页码数
        getCurrentPage(state, currentPage) {
            state.currentPage = currentPage
        },
        // 得到当前页数据条数
        getPageSize(state, pageSize) {
            state.pageSize = pageSize
        }
    },
    getters: {

    }
}